package com.ruoyi.logistic.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Date;
import java.sql.Timestamp;

@Data
public class NetworkPrePayDealTab implements Serializable {
    private static final long serialVersionUID = 4710925857305074098L;
    /**
     * 主键
     */
    private Integer id;

    /**
     * 业务编码
     */
    @Excel(name = "业务编码")
    @ApiModelProperty("业务编码")
    private String transactionId;

    /**
     * 结算科目
     */
    @Excel(name = "结算科目")
    @ApiModelProperty("结算科目")
    private String settlementSubjectId;

    /**
     * 收支类型
     */
    @Excel(name = "收支类型")
    @ApiModelProperty("收支类型")
    private String transactionType;

    /**
     * 开户网点id
     */
    @Excel(name = "开户网点id")
    @ApiModelProperty("开户网点")
    private String branchOfficeNetworkId;

    /**
     * 账户编号
     */
    @Excel(name = "账户编号")
    @ApiModelProperty("账户编号")
    private String accountNumber;

    /**
     * 账户名称
     */
    @Excel(name = "账户名称")
    @ApiModelProperty("账户名称")
    private String accountName;

    /**
     * 账户类型
     */
    @Excel(name = "账户类型")
    @ApiModelProperty("账户类型")
    private String accountType;

    /**
     * 前余额
     */
    @Excel(name = "前余额")
    @ApiModelProperty("前余额")
    private BigDecimal preBalance;

    /**
     * 交易金额
     */
    @Excel(name = "交易金额")
    @ApiModelProperty("交易金额")
    private BigDecimal transactionAmount;

    /**
     * 后余额
     */
    @Excel(name = "后余额")
    @ApiModelProperty("后余额")
    private BigDecimal postBalance;

    /**
     * 业务发生日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "业务发生日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("业务发生日期")
    private Date businessDate;

    /**
     * 交易完成时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "交易完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("交易完成时间")
    private Date transactionTime;

    /**
     * 内部流水号
     */
    @Excel(name = "内部流水号")
    @ApiModelProperty("内部流水号")
    private String serialNumber;

    /**
     * 备注信息
     */
    @Excel(name = "备注信息")
    @ApiModelProperty("备注信息")
    private String remarks;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("创建时间")
    private Timestamp createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("修改时间")
    private Timestamp updateTime;

}
